package com.ruoyi.keep.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.ruoyi.score.domain.Goods;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单课程商品详情对象 order_detail
 * 
 * @author wangziyang
 * @date 2024-08-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDetail
{


    /** 订单表id（该表主键） */
    @Excel(name = "订单表id", readConverterExp = "该=表主键")
    private Long orderId;

    /** 课程或者商品id */
    @Excel(name = "课程或者商品id")
    private Long orderDetailId;
    /** 逻辑删除字段 */
    @TableLogic
    private Long del;
    @TableField(exist = false)
    private Goods goods;
}
